package com.fruit.mapper.sms;

import com.fruit.pojo.sms.SmsCodeValidate;
import com.fruit.pojo.sms.SmsTemplet;

public interface SmsCodeMapper {
	
	 SmsTemplet getSmsTempletByCode(String type);
	
	 int saveSmsCode(SmsCodeValidate code);
	 
	 int updateSmsCode(SmsCodeValidate code);
	 
	 SmsCodeValidate getSmsCode(SmsCodeValidate code);
	 
	 SmsCodeValidate getSmsData(SmsCodeValidate code);
	 
	 void IntiSmsCode(SmsCodeValidate code);

	 SmsCodeValidate getSmsTime(SmsCodeValidate sv);

	 void intiSmsData(SmsCodeValidate sv);
	 
	 SmsCodeValidate getSmsIsExpire(SmsCodeValidate code);
	 
	 int upudateIsSue(SmsCodeValidate code);

}
